hilite
Type
property
Summary
Determines whether a button is highlighted.
Syntax
set the hilite of <button> to {true | false}
Description
Use the hilite property to provide visual feedback when a button is pressed, or to reflect the state of a setting.
The effect of the hilite property on a button depends on the style, threeD, and hiliteBorder of the button.
If the button's hiliteBorder and threeD properties are true, the topColor and bottomColor (or topPattern and bottomPattern) are reversed when the button is highlighted.
If a radio button's or checkbox's hilite is true, the radio button or checkbox option is selected. If the hilite is false, the option is not selected.
For buttons of any other style, if the hilite is true, the button's background is drawn in the hiliteColor (or the hilitePattern, if the button's hiliteFill property is true).
Examples
set the hilite of button "Option 1" to true
set the hilite of me to not the hilite of me
Related
glossary: property, highlight, checkbox, hilitePattern, radio button
keyword: button
object: button
property: bottomColor, showHilite, hiliteBorder, hilitedIcon, hiliteFill, hilitedButtonName, hiliteColor, hiliteBorder, bottomPattern, style, threeD, topColor, topPattern
command: hilite
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile